<?php
class OutputLog
{
    public function open($name,$r)
    {
        $text = fopen($name, $r);
        return $text;
    }

    public function write($name,$title)
    {
        $rel = fwrite($name, $title);
        return $rel;
    }

    public function close($name)
    {
        fclose($name);
    }
}